#pragma once

#include <QVariantMap>
#include <QList>
#include <tuple>

#include "tcservercore_global.h"

namespace TCServer
{
    namespace Store
    {
        class TCSERVERCORE_EXPORT MultiPostTable
        {
        public:
            static QList<QVariantMap> queryNewer(const QDateTime &time, uint number);
            static QList<QVariantMap> queryOlder(const QDateTime &time, uint number);
            static quint64 insert(quint64 userId,
                const QString &type,
                const QString &imageCount,
                const QString &mainImage,
                const QString &audioSource,
                const QString &comment);
        };

    }
}